package fibonachi;

import org.junit.Test;

public class fibo {
	@Test
	public void test()
	{
		for(int i=0; i<1000000; i++){
			int a =(fibo(1, 1, 5));
		}
	}
	
	public static int fibo(int getal1, int getal2, int a) {
		int getal = getal1 + getal2;
		if(a > 0)
		{
			return fibo(getal2, getal, a-1);
		}
		return getal;
	}
}
